#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
int main()
{
	int a = 0;
	char arr[20] = "0";
	scanf("%s", arr);
	int sz = strlen(arr);
	int i = 0;
	for (i = 0; i < sz; i++)
	{
		a = (arr[i] - 48);
		
		switch (a)
		{
		case 0:
			printf("ling ");
			break;
		case 1:
			printf("yi ");
			break;
		case 2:
			printf("er ");
			break;
		case 3:
			printf("san ");
			break;
		case 4:
			printf("si ");
			break;
		case 5:
			printf("wu ");
			break;
		case 6:
			printf("liu ");
			break;
		case 7:
			printf("qi ");
			break;
		case 8:
			printf("ba ");
			break;
		case 9:
			printf("jiu ");
			break;
		}
	}
	return 0;
}